package cn.zhentao.charge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 充电站评论对象 charge_station_comment
 * 
 * @author ruoyi
 * @date 2025-05-16
 */
public class ChargeStationComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 评论人id */
    @Excel(name = "评论人id")
    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userName;

    /** 充电站id */
    @Excel(name = "充电站id")
    private Integer stationId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String acatarImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setStationId(Integer stationId) 
    {
        this.stationId = stationId;
    }

    public Integer getStationId() 
    {
        return stationId;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setAcatarImg(String acatarImg) 
    {
        this.acatarImg = acatarImg;
    }

    public String getAcatarImg() 
    {
        return acatarImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("stationId", getStationId())
            .append("content", getContent())
            .append("acatarImg", getAcatarImg())
            .append("createTime", getCreateTime())
            .toString();
    }
}
